package com.samples;

import java.util.Scanner;

public class Use {

	public static void main(String args[])
	{
		Firstclass objcall = new Firstclass();
		objcall.firstMsg(); //Olden type
		Firstclass.firstMsg();// New type
		Scanner input = new Scanner(System.in);
		String temp = input.nextLine();
		objcall.setName(temp);
		objcall.saying();
	}
}
